package com.qianfeng.smartdevices.mapper;

import com.qianfeng.smartdevices.pojo.Categories;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoriesMapper {

    void addCategories(Categories categories);


    List<Categories> findAllCategories(@Param("categoryname") String categoryname,@Param("status") Long status);


    int updateCategories( Categories categories);
    int deleteById(@Param("ids") List<Long> ids);
}
